package com.freemarker.vo;

import com.freemarker.db.StringUtil;

public class DataTypeJavaField extends DataType
{

	private String columnDataType;
	private String javaDataTypeBase;
	private String javaDataTypeWrapper;
	private String defaultValue;

	
	private String jqueryValidateCss;
	private String queryClickEvent;
	private String editClickEvent;

	public String getColumnDataType() {
		return StringUtil.trim(columnDataType);
	}

	public void setColumnDataType(String columnDataType) {
		this.columnDataType = StringUtil.trim(columnDataType);
	}

	public String getJavaDataTypeBase() {
		return StringUtil.trim(javaDataTypeBase);
	}

	public void setJavaDataTypeBase(String javaDataTypeBase) {
		this.javaDataTypeBase = StringUtil.trim(javaDataTypeBase);
	}

	public String getJavaDataTypeWrapper() {
		return StringUtil.trim(javaDataTypeWrapper);
	}

	public void setJavaDataTypeWrapper(String javaDataTypeWrapper) {
		this.javaDataTypeWrapper = StringUtil.trim(javaDataTypeWrapper);
	}

	public String getDefaultValue() {
		return StringUtil.trim(defaultValue);
	}

	public void setDefaultValue(String defaultValue) {
		this.defaultValue = StringUtil.trim(defaultValue);
	}

	public String getJqueryValidateCss() {
		return StringUtil.trim(jqueryValidateCss);
	}

	public void setJqueryValidateCss(String jqueryValidateCss) {
		this.jqueryValidateCss =StringUtil.trim( jqueryValidateCss);
	}

	public String getQueryClickEvent() {
		return StringUtil.trim( queryClickEvent);
	}

	public void setQueryClickEvent(String queryClickEvent) {
		this.queryClickEvent = queryClickEvent;
	}

	public String getEditClickEvent() {
		return editClickEvent;
	}

	public void setEditClickEvent(String editClickEvent) {
		this.editClickEvent = editClickEvent;
	}

	public String toString() {
		return "DataTypeJavaField [columnDataType=" + columnDataType + ", javaDataTypeBase=" + javaDataTypeBase + ", javaDataTypeWrapper="
				+ javaDataTypeWrapper + ", defaultValue=" + defaultValue + ", jqueryValidateCss=" + jqueryValidateCss + ", queryClickEvent=" + queryClickEvent
				+ ", editClickEvent=" + editClickEvent + "]";
	}

}
